package com.xindacloud.sms.console.system.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xindacloud.sms.console.system.dto.SmsDashBoardReportDTO;
import com.xindacloud.sms.console.system.dto.SmsSubmissionRecordDTO;
import com.xindacloud.sms.console.system.entity.SmsSubmissionRecord;

/**
 * <p>
 * 短信发送记录 Mapper 接口
 * </p>
 *
 * @author czc
 * @since 2019-10-15
 */
public interface SmsSubmissionRecordMapper extends BaseMapper<SmsSubmissionRecord> {
	
	/*IPage<SmsDashBoardReportDTO> getSmsDashBoardReport(Page page,@Param("smsSubmissionRecordDTO")SmsSubmissionRecordDTO smsSubmissionRecordDTO);*/
	
	List<SmsDashBoardReportDTO> getSmsDashBoardReport(@Param("smsSubmissionRecordDTO")SmsSubmissionRecordDTO smsSubmissionRecordDTO);

	SmsDashBoardReportDTO getTotalSmsDashBoardReport(@Param("smsSubmissionRecordDTO")SmsSubmissionRecordDTO smsSubmissionRecordDTO);

	List<SmsDashBoardReportDTO> getSmsDashBoardReportByCountryOrNetwork(@Param("smsSubmissionRecordDTO")SmsSubmissionRecordDTO smsSubmissionRecordDTO);

	SmsDashBoardReportDTO getTotalSmsDashBoardReportByCountryOrNetwork(@Param("smsSubmissionRecordDTO")SmsSubmissionRecordDTO smsSubmissionRecordDTO);
}
